<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Qwt User&#39;s Guide: qwt_legend_data.cpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Qwt User&#39;s Guide
   &#160;<span id="projectnumber">6.2.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('qwt__legend__data_8cpp_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">qwt_legend_data.cpp</div>  </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/******************************************************************************</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> * Qwt Widget Library</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> * Copyright (C) 1997   Josef Wilgen</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> * Copyright (C) 2002   Uwe Rathmann</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> * This library is free software; you can redistribute it and/or</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> * modify it under the terms of the Qwt License, Version 1.0</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> *****************************************************************************/</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160; </div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor">#include &quot;qwt_legend_data.h&quot;</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">#include &quot;qwt_text.h&quot;</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor">#include &quot;qwt_graphic.h&quot;</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160; </div>
<div class="line"><a name="l00015"></a><span class="lineno"><a class="line" href="class_qwt_legend_data.html#a519e4f01583d051e4b2458ab9dfcb196">   15</a></span>&#160;<a class="code" href="class_qwt_legend_data.html#a519e4f01583d051e4b2458ab9dfcb196">QwtLegendData::QwtLegendData</a>()</div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;{</div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;}</div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160; </div>
<div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="class_qwt_legend_data.html#a56608cc97875e7b3dd9340decd5231cb">   20</a></span>&#160;<a class="code" href="class_qwt_legend_data.html#a56608cc97875e7b3dd9340decd5231cb">QwtLegendData::~QwtLegendData</a>()</div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;{</div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;}</div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160; </div>
<div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="class_qwt_legend_data.html#a68c3bc398c541f345a12fa9321ad52ed">   33</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_legend_data.html#a68c3bc398c541f345a12fa9321ad52ed">QwtLegendData::setValues</a>( <span class="keyword">const</span> <a class="code" href="class_q_map.html">QMap&lt; int, QVariant &gt;</a>&amp; map )</div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;{</div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;    m_map = map;</div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;}</div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160; </div>
<div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="class_qwt_legend_data.html#ad7a22d8fd13cce97d49eef4f48b897f7">   42</a></span>&#160;<span class="keyword">const</span> <a class="code" href="class_q_map.html">QMap&lt; int, QVariant &gt;</a>&amp; <a class="code" href="class_qwt_legend_data.html#ad7a22d8fd13cce97d49eef4f48b897f7">QwtLegendData::values</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;    <span class="keywordflow">return</span> m_map;</div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;}</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160; </div>
<div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="class_qwt_legend_data.html#abfa62dcccd380d9ba41cd24923c1155f">   51</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="class_qwt_legend_data.html#abfa62dcccd380d9ba41cd24923c1155f">QwtLegendData::hasRole</a>( <span class="keywordtype">int</span> role )<span class="keyword"> const</span></div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;    <span class="keywordflow">return</span> m_map.contains( role );</div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;}</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160; </div>
<div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="class_qwt_legend_data.html#a1be4b4cf3c1df733744633ea6c02346a">   64</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_legend_data.html#a1be4b4cf3c1df733744633ea6c02346a">QwtLegendData::setValue</a>( <span class="keywordtype">int</span> role, <span class="keyword">const</span> QVariant&amp; data )</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;{</div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;    m_map[role] = data;</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;}</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160; </div>
<div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="class_qwt_legend_data.html#a6d7b579487291f78d9cc26b59b53e32f">   73</a></span>&#160;QVariant <a class="code" href="class_qwt_legend_data.html#a6d7b579487291f78d9cc26b59b53e32f">QwtLegendData::value</a>( <span class="keywordtype">int</span> role )<span class="keyword"> const</span></div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;    <span class="keywordflow">if</span> ( !m_map.contains( role ) )</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;        <span class="keywordflow">return</span> QVariant();</div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160; </div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;    <span class="keywordflow">return</span> m_map[role];</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;}</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160; </div>
<div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="class_qwt_legend_data.html#aa4965e8711b0b4cb899b673fe8525392">   82</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="class_qwt_legend_data.html#aa4965e8711b0b4cb899b673fe8525392">QwtLegendData::isValid</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;    <span class="keywordflow">return</span> !m_map.isEmpty();</div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;}</div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160; </div>
<div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="class_qwt_legend_data.html#af8a49f7a6cc6991815f3163b21d70d44">   88</a></span>&#160;<a class="code" href="class_qwt_text.html">QwtText</a> <a class="code" href="class_qwt_legend_data.html#af8a49f7a6cc6991815f3163b21d70d44">QwtLegendData::title</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;    <a class="code" href="class_qwt_text.html">QwtText</a> text;</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160; </div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;    <span class="keyword">const</span> QVariant titleValue = <a class="code" href="class_qwt_legend_data.html#a6d7b579487291f78d9cc26b59b53e32f">value</a>( QwtLegendData::TitleRole );</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;    <span class="keywordflow">if</span> ( titleValue.canConvert&lt; <a class="code" href="class_qwt_text.html">QwtText</a> &gt;() )</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;    {</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;        text = qvariant_cast&lt; QwtText &gt;( titleValue );</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;    }</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;    <span class="keywordflow">else</span> <span class="keywordflow">if</span> ( titleValue.canConvert&lt; QString &gt;() )</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;    {</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;        text.<a class="code" href="class_qwt_text.html#a9ba9caa82fcfbc4bfbf8ce20ccea981e">setText</a>( qvariant_cast&lt; QString &gt;( titleValue ) );</div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;    }</div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160; </div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;    <span class="keywordflow">return</span> text;</div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;}</div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160; </div>
<div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="class_qwt_legend_data.html#aea7d1ab69cc1cab86a949b48b92a71b4">  106</a></span>&#160;<a class="code" href="class_qwt_graphic.html">QwtGraphic</a> <a class="code" href="class_qwt_legend_data.html#aea7d1ab69cc1cab86a949b48b92a71b4">QwtLegendData::icon</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;    <span class="keyword">const</span> QVariant iconValue = <a class="code" href="class_qwt_legend_data.html#a6d7b579487291f78d9cc26b59b53e32f">value</a>( QwtLegendData::IconRole );</div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160; </div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;    <a class="code" href="class_qwt_graphic.html">QwtGraphic</a> graphic;</div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;    <span class="keywordflow">if</span> ( iconValue.canConvert&lt; <a class="code" href="class_qwt_graphic.html">QwtGraphic</a> &gt;() )</div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;    {</div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;        graphic = qvariant_cast&lt; QwtGraphic &gt;( iconValue );</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;    }</div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160; </div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;    <span class="keywordflow">return</span> graphic;</div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;}</div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160; </div>
<div class="line"><a name="l00120"></a><span class="lineno"><a class="line" href="class_qwt_legend_data.html#a08a30173e015c7e743ae257f9ceb4736">  120</a></span>&#160;<a class="code" href="class_qwt_legend_data.html#aaa33cc8e6aec17440df5d4c38d7545b7">QwtLegendData::Mode</a> <a class="code" href="class_qwt_legend_data.html#a08a30173e015c7e743ae257f9ceb4736">QwtLegendData::mode</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;    <span class="keyword">const</span> QVariant modeValue = <a class="code" href="class_qwt_legend_data.html#a6d7b579487291f78d9cc26b59b53e32f">value</a>( QwtLegendData::ModeRole );</div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;    <span class="keywordflow">if</span> ( modeValue.canConvert&lt; <span class="keywordtype">int</span> &gt;() )</div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;    {</div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;        <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="class_qwt_legend_data.html#a08a30173e015c7e743ae257f9ceb4736">mode</a> = qvariant_cast&lt; int &gt;( modeValue );</div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;        <span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span> <a class="code" href="class_qwt_legend_data.html#aaa33cc8e6aec17440df5d4c38d7545b7">QwtLegendData::Mode</a> <span class="keyword">&gt;</span>( <a class="code" href="class_qwt_legend_data.html#a08a30173e015c7e743ae257f9ceb4736">mode</a> );</div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;    }</div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160; </div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="class_qwt_legend_data.html#aaa33cc8e6aec17440df5d4c38d7545b7add4342fbe2d82828b9ef7031c1b41a0b">QwtLegendData::ReadOnly</a>;</div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;}</div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160; </div>
<div class="ttc" id="aclass_q_map_html"><div class="ttname"><a href="class_q_map.html">QMap&lt; int, QVariant &gt;</a></div></div>
<div class="ttc" id="aclass_qwt_graphic_html"><div class="ttname"><a href="class_qwt_graphic.html">QwtGraphic</a></div><div class="ttdoc">A paint device for scalable graphics.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__graphic_8h_source.html#l00075">qwt_graphic.h:76</a></div></div>
<div class="ttc" id="aclass_qwt_legend_data_html_a08a30173e015c7e743ae257f9ceb4736"><div class="ttname"><a href="class_qwt_legend_data.html#a08a30173e015c7e743ae257f9ceb4736">QwtLegendData::mode</a></div><div class="ttdeci">Mode mode() const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__legend__data_8cpp_source.html#l00120">qwt_legend_data.cpp:120</a></div></div>
<div class="ttc" id="aclass_qwt_legend_data_html_a1be4b4cf3c1df733744633ea6c02346a"><div class="ttname"><a href="class_qwt_legend_data.html#a1be4b4cf3c1df733744633ea6c02346a">QwtLegendData::setValue</a></div><div class="ttdeci">void setValue(int role, const QVariant &amp;)</div><div class="ttdef"><b>Definition:</b> <a href="qwt__legend__data_8cpp_source.html#l00064">qwt_legend_data.cpp:64</a></div></div>
<div class="ttc" id="aclass_qwt_legend_data_html_a519e4f01583d051e4b2458ab9dfcb196"><div class="ttname"><a href="class_qwt_legend_data.html#a519e4f01583d051e4b2458ab9dfcb196">QwtLegendData::QwtLegendData</a></div><div class="ttdeci">QwtLegendData()</div><div class="ttdoc">Constructor.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__legend__data_8cpp_source.html#l00015">qwt_legend_data.cpp:15</a></div></div>
<div class="ttc" id="aclass_qwt_legend_data_html_a56608cc97875e7b3dd9340decd5231cb"><div class="ttname"><a href="class_qwt_legend_data.html#a56608cc97875e7b3dd9340decd5231cb">QwtLegendData::~QwtLegendData</a></div><div class="ttdeci">~QwtLegendData()</div><div class="ttdoc">Destructor.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__legend__data_8cpp_source.html#l00020">qwt_legend_data.cpp:20</a></div></div>
<div class="ttc" id="aclass_qwt_legend_data_html_a68c3bc398c541f345a12fa9321ad52ed"><div class="ttname"><a href="class_qwt_legend_data.html#a68c3bc398c541f345a12fa9321ad52ed">QwtLegendData::setValues</a></div><div class="ttdeci">void setValues(const QMap&lt; int, QVariant &gt; &amp;)</div><div class="ttdef"><b>Definition:</b> <a href="qwt__legend__data_8cpp_source.html#l00033">qwt_legend_data.cpp:33</a></div></div>
<div class="ttc" id="aclass_qwt_legend_data_html_a6d7b579487291f78d9cc26b59b53e32f"><div class="ttname"><a href="class_qwt_legend_data.html#a6d7b579487291f78d9cc26b59b53e32f">QwtLegendData::value</a></div><div class="ttdeci">QVariant value(int role) const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__legend__data_8cpp_source.html#l00073">qwt_legend_data.cpp:73</a></div></div>
<div class="ttc" id="aclass_qwt_legend_data_html_aa4965e8711b0b4cb899b673fe8525392"><div class="ttname"><a href="class_qwt_legend_data.html#aa4965e8711b0b4cb899b673fe8525392">QwtLegendData::isValid</a></div><div class="ttdeci">bool isValid() const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__legend__data_8cpp_source.html#l00082">qwt_legend_data.cpp:82</a></div></div>
<div class="ttc" id="aclass_qwt_legend_data_html_aaa33cc8e6aec17440df5d4c38d7545b7"><div class="ttname"><a href="class_qwt_legend_data.html#aaa33cc8e6aec17440df5d4c38d7545b7">QwtLegendData::Mode</a></div><div class="ttdeci">Mode</div><div class="ttdoc">Mode defining how a legend entry interacts.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__legend__data_8h_source.html#l00040">qwt_legend_data.h:41</a></div></div>
<div class="ttc" id="aclass_qwt_legend_data_html_aaa33cc8e6aec17440df5d4c38d7545b7add4342fbe2d82828b9ef7031c1b41a0b"><div class="ttname"><a href="class_qwt_legend_data.html#aaa33cc8e6aec17440df5d4c38d7545b7add4342fbe2d82828b9ef7031c1b41a0b">QwtLegendData::ReadOnly</a></div><div class="ttdeci">@ ReadOnly</div><div class="ttdoc">The legend item is not interactive, like a label.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__legend__data_8h_source.html#l00043">qwt_legend_data.h:43</a></div></div>
<div class="ttc" id="aclass_qwt_legend_data_html_abfa62dcccd380d9ba41cd24923c1155f"><div class="ttname"><a href="class_qwt_legend_data.html#abfa62dcccd380d9ba41cd24923c1155f">QwtLegendData::hasRole</a></div><div class="ttdeci">bool hasRole(int role) const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__legend__data_8cpp_source.html#l00051">qwt_legend_data.cpp:51</a></div></div>
<div class="ttc" id="aclass_qwt_legend_data_html_ad7a22d8fd13cce97d49eef4f48b897f7"><div class="ttname"><a href="class_qwt_legend_data.html#ad7a22d8fd13cce97d49eef4f48b897f7">QwtLegendData::values</a></div><div class="ttdeci">const QMap&lt; int, QVariant &gt; &amp; values() const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__legend__data_8cpp_source.html#l00042">qwt_legend_data.cpp:42</a></div></div>
<div class="ttc" id="aclass_qwt_legend_data_html_aea7d1ab69cc1cab86a949b48b92a71b4"><div class="ttname"><a href="class_qwt_legend_data.html#aea7d1ab69cc1cab86a949b48b92a71b4">QwtLegendData::icon</a></div><div class="ttdeci">QwtGraphic icon() const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__legend__data_8cpp_source.html#l00106">qwt_legend_data.cpp:106</a></div></div>
<div class="ttc" id="aclass_qwt_legend_data_html_af8a49f7a6cc6991815f3163b21d70d44"><div class="ttname"><a href="class_qwt_legend_data.html#af8a49f7a6cc6991815f3163b21d70d44">QwtLegendData::title</a></div><div class="ttdeci">QwtText title() const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__legend__data_8cpp_source.html#l00088">qwt_legend_data.cpp:88</a></div></div>
<div class="ttc" id="aclass_qwt_text_html"><div class="ttname"><a href="class_qwt_text.html">QwtText</a></div><div class="ttdoc">A class representing a text.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__text_8h_source.html#l00051">qwt_text.h:52</a></div></div>
<div class="ttc" id="aclass_qwt_text_html_a9ba9caa82fcfbc4bfbf8ce20ccea981e"><div class="ttname"><a href="class_qwt_text.html#a9ba9caa82fcfbc4bfbf8ce20ccea981e">QwtText::setText</a></div><div class="ttdeci">void setText(const QString &amp;, QwtText::TextFormat textFormat=AutoText)</div><div class="ttdef"><b>Definition:</b> <a href="qwt__text_8cpp_source.html#l00277">qwt_text.cpp:277</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><b>qwt_legend_data.cpp</b></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
